﻿<%@ Page Title="Cadastro de Telas no Sistema" Language="C#" MasterPageFile="~/SiteCadastro.Master" AutoEventWireup="true" CodeBehind="TelaSistemaView.aspx.cs" Inherits="ASPLanchonete.Telas.TelaSistemaView" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="form" runat="server">
    <h1>Cadastro de Telas no Sistema</h1>
    <br />
    <p>
        <asp:Label Text="Código:" runat="server" Width="300"/>
        <asp:TextBox ID="txtCodigo" runat="server" Width="300"  CssClass="textBox" 
            Enabled="False">0</asp:TextBox>
    </p>
    <p>
        <asp:Label Text="Nome da tela:" runat="server" Width="300"/>
        <asp:TextBox ID="txtNomeTela" runat="server" Width="300"  CssClass="textBox"></asp:TextBox>
        <asp:RequiredFieldValidator runat="server" ControlToValidate="txtNomeTela" ErrorMessage="*Obrigatório" ForeColor="Red" />
    </p>
    <p>
        <asp:Label Text="Link para a tela:" runat="server" Width="300"/>
        <asp:TextBox ID="txtLinkTela" runat="server" Width="300" CssClass="textBox"></asp:TextBox>
        <asp:RequiredFieldValidator runat="server" ControlToValidate="txtLinkTela" ErrorMessage="*Obrigatório" ForeColor="Red" />
    </p>
    <p>
        <asp:Label Text="Tipo de Tela:" runat="server" Width="300"/>
        <asp:DropDownList ID="ddlListaTipoTela" runat="server" Width="300" />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="ddlListaTipoTela" ErrorMessage="*Obrigatório" ForeColor="Red" InitialValue="0" />
    </p>
    </asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="grid" runat="server">
</asp:Content>
